package com.app.library;

import android.content.Context;

import com.app.library.bean.Params;
import com.app.library.callback.IAction;

public class ThirdSDK {
    public void test(Context context, Params params, IAction action) {
        if (null == params)
            params = new Params(1, false, "default");

        onDoing(context, params);

        if (null != action) {
            action.onDoing("3 rd done!!!");
        }
    }

    private void onDoing(Context context, Params params) {
        new Delegate().doTest(context, params);
    }
}
